package cn.itsource.campus.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

@Data
public class Teacher {
    //主键id
    private Long id;
    //姓名
    @Excel(name = "姓名")
    private String name;
    //年龄
    @Excel(name = "年龄")
    private Integer age;
    //性别
    @Excel(name = "性别", replace = { "男_true", "女_false" })
    private Boolean sex;
    //职位
    @Excel(name = "职位")
    private String position;
    //科目
    @Excel(name = "科目")
    private String subject;
}
